<?php

include_once __DIR__ . '/response/response.php';
include_once __DIR__ . '/request/request.php';
include_once __DIR__ . '/db/db.php';
include_once __DIR__ . '/encryption/encryption.php';
include_once __DIR__ . '/curl/curl.php';
include_once __DIR__ . '/app/app.php';

use common\response;
use common\request;
use common\db;
use common\encryption;
use common\curl;
use common\app;
class Cm
{
    /**
     * @var response\Response
     */
    static $res;

    /**
     * @var request\Request
     */
    static $req;

    /**
     * @var db\Db
     */
    static $db;

    /**
     * @var encryption\Encryption
     */
    static $code;

    /**
     * @var curl\Curl
     */
    static $curl;

    /**
     * @var app\App
     */
    static $app;

    function __construct()
    {
        self::$res = new response\Response();
        self::$db = new db\Db();
        self::$code = new encryption\Encryption();
        self::$curl = new curl\Curl();
        self::$req = new request\Request();
        self::$app = new app\App();
    }


}

new Cm();